/**   
 * @Title: AuthTokenEntity.java 
 * @author 7828wc   
 * @date 2015年9月14日 下午3:03:10 
 */
package com.onstar.cn.auth;

import com.google.gson.annotations.SerializedName;

/**
 * @ClassName: AuthTokenEntity.java
 * @Description: Auth Token 实体，接收返回的accessToken信息
 * @author 7828wc
 * @date 2015年9月14日
 */
public class AuthTokenEntity {
	@SerializedName("access_token")
	private String accessToken;
	@SerializedName("token_type")
	private String tokenType;
	@SerializedName("expires_in")
	private int expiresTime;
	private String scope;
	@SerializedName("id_token")
	private String idToken;
	@SerializedName("onstar_account_info")
	private AuthAccountEntity accountInfo;


	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}


	public String getTokenType() {
		return tokenType;
	}

	public void setTokenType(String tokenType) {
		this.tokenType = tokenType;
	}


	public int getExpiresTime() {
		return expiresTime;
	}

	public void setExpiresTime(int expiresTime) {
		this.expiresTime = expiresTime;
	}


	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}


	public String getIdToken() {
		return idToken;
	}

	public void setIdToken(String idToken) {
		this.idToken = idToken;
	}


	public AuthAccountEntity getAccountInfo() {
		return accountInfo;
	}

	public void setAccountInfo(AuthAccountEntity accountInfo) {
		this.accountInfo = accountInfo;
	}

}
